﻿// ITrickleToCollection
// <copyright file="TrickleToCollection.cs" company="XamlNinja">
//   2011 Richard Griffin and Ollie Riches
// </copyright>
// <summary>
//   Defines the trickles to collection interface
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace WP7Contrib.Collections
{
    using System.Collections.Generic;

    public interface ITrickleToCollection<T>
    {
        Queue<T> Source { get; }
        bool Pending { get; }
        bool IsTrickling { get; }
        void Start(int trickleDelay, IEnumerable<T> sourceCollection, IList<T> destinationCollection);
        void Stop();
        void Suspend();
        void Resume();
    }
}